import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.Toolkit;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.border.EmptyBorder;


public class MainFrame extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8424734531682214227L;
	private JPanel contentPane;
	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MainFrame frame = new MainFrame();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public MainFrame() {
		setIconImage(Toolkit.getDefaultToolkit().getImage("C:\\Users\\colin\\Pictures\\Mobile Photos\\IMG_20120522_163939.jpg"));
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 555, 633);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblWanderingDetectionApplication = new JLabel("Wandering Detection Application");
		lblWanderingDetectionApplication.setBackground(Color.ORANGE);
		lblWanderingDetectionApplication.setForeground(Color.BLACK);
		lblWanderingDetectionApplication.setHorizontalAlignment(SwingConstants.CENTER);
		lblWanderingDetectionApplication.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 15));
		lblWanderingDetectionApplication.setBounds(0, 0, 539, 25);
		contentPane.add(lblWanderingDetectionApplication);
	}
}
